//
// Created by ziya on 2023/10/9.
//

#ifndef ZIYA_MULTICORE_X64_TIME_H
#define ZIYA_MULTICORE_X64_TIME_H

typedef struct tm {
    int tm_sec;
    int tm_min;
    int tm_hour;
    int tm_mday;
    int tm_mon;
    int tm_year;
    int tm_wday;
    int tm_yday;
    int tm_isdst;
} __attribute__((packed)) tm;

long kernel_mktime(struct tm * tm);
void time_init(void);

#endif //ZIYA_MULTICORE_X64_TIME_H
